package com.ailatrieuphu.item;


public class Table {
	private int idTable, bet;
	private int maxPlayer, countPlayers;
	private String title, password; 
	private byte status;

	@Override
	public String toString() {
		return ("ID: " + idTable + " Bet: " + bet + " MaxPlayer: " + maxPlayer
				+ "CountPlayer: " + countPlayers + " Title: " + title
				+ " Password: " + password);
	}

	public int getBet() {
		return bet;
	}

	public void setBet(int bet) {
		this.bet = bet;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public byte getStatus() {
		return status;
	}

	public void setStatus(byte status) {
		this.status = status;
	}

	public int getIdTable() {
		return idTable;
	}

	public void setIdTable(int idTable) {
		this.idTable = idTable;
	}

	public int getCountPlayers() {
		return countPlayers;
	}

	public void setCountPlayers(byte countPlayers) {
		this.countPlayers = countPlayers;
	}

	public String getCountPlayer() {
		return countPlayers + "/" + maxPlayer;
	}

	public int getMaxPlayer() {
		return maxPlayer;
	}

	public void setMaxPlayer(int maxPlayer) {
		this.maxPlayer = maxPlayer;
	}

	public void setCountPlayer(int countPlayer) {
		this.countPlayers = countPlayer;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
